home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / research / resource / xprinter / ppds / npclplus.ps < prev    next >
Encoding:
PostScript Printer Description  |  1997-07-08  |  12.2 KB  |  340 lines

  1. *PPD-Adobe: "4.1"
  2. *% PostScript(R) Printer Description File
  3. *% For "NeWSprinterCL+" version 2
  4. *% Date: %D%
  5. *% Copyright (C) 1993 Sun Microsystems.  All Rights Reserved.
  6. *% Permission is granted for redistribution of this file as
  7. *% long as this copyright notice is intact and the contents
  8. *% of the file is not altered in any way from its original form.
  9. *% End of Copyright statement
  10. *% This file is here upon the request from Lotus (Paul Hickey)
  11. *FormatVersion: "4.1"
  12. *FileVersion: "%I%"
  13. *LanguageEncoding: ISOLatin1
  14. *LanguageVersion: English
  15. *PCFileName: "NPCLPLUS.PPD"
  16. *Product: "(NeWSprinterCL+)"
  17. *PSVersion: "(3.000) 0"
  18. *ModelName: "NeWSprinterCL+"
  19. *ShortNickName: "NeWSprinterCL+"
  20. *NickName: "NeWSprinterCL+"
  21.  
  22. *% General Information and Defaults ===============
  23. *LanguageLevel: "1"
  24. *Extensions: CMYK Composite
  25. *FreeVM: "4194304"
  26.  
  27. *ColorDevice: True
  28. *DefaultColorSpace: CMYK
  29. *FreeVM: "64732"
  30. *VariablePaperSize: False
  31. *TTRasterizer: None
  32. *FileSystem: False
  33.  
  34. *Protocols: BCP
  35. *Throughput: "1"
  36. *Password: "()"
  37. *ExitServer: "
  38.   count 0 eq {  % is the password on the stack?
  39.     true 
  40.   }{
  41.     dup    % potential password
  42.     statusdict begin checkpassword end not
  43.   } ifelse 
  44.   {  %  if no password or not valid 
  45.     (WARNING : Cannot perform the exitserver command.) = 
  46.     (Password supplied is not valid.) = 
  47.     (Please contact the author of this software.) = flush
  48.     quit
  49.   } if 
  50.   serverdict begin exitserver
  51. "
  52. *End
  53.  
  54. *OpenUI *Resolution: PickOne
  55. *OrderDependency: 25 AnySetup *Resolution
  56. *DefaultResolution: 360dpi
  57. *Resolution 360dpi: " 360 setres "
  58. *Resolution 180dpi: " 180 setres "
  59. *Resolution 90dpi: " 90 setres "
  60. *?Resolution: "
  61.  save
  62.  enginedict begin 
  63.      CurrXres (     ) cvs print
  64.      (dpi) = flush 
  65.  end
  66.  restore
  67. "
  68. *End
  69. *CloseUI: *Resolution
  70.  
  71. *OpenUI *OutputMode/Printing Mode: PickOne
  72. *OrderDependency: 60 AnySetup *OutputMode
  73. *DefaultOutputMode: Normal
  74. *OutputMode Normal: "1 setprintmode"
  75. *OutputMode Transparency: "2 setprintmode"
  76. *OutputMode Enhanced/Enhanced Black: "3 setprintmode"
  77. *OutputMode Graphics/High-Density Graphics: "4 setprintmode"
  78. *OutputMode Draft: "5 setprintmode"
  79. *CloseUI: *OutputMode
  80.  
  81. *% Halftone Information ===============
  82. *ScreenFreq: "60.0"
  83. *ScreenAngle: "45.0"
  84. *DefaultScreenProc: Dot
  85. *ScreenProc Dot: "
  86. {dup mul exch dup mul add 1.0 exch sub }
  87. "
  88. *End
  89. *ScreenProc Line: "{ pop }"
  90. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  91.  
  92. *DefaultTransfer: Null
  93. *Transfer Null: "{ }"
  94. *Transfer Null.Inverse: "{ 1 exch sub }"
  95.  
  96. *% Paper Handling ===================
  97. *OpenUI *PageSize/Page Size: PickOne
  98. *OrderDependency: 30 AnySetup *PageSize
  99. *DefaultPageSize: Unknown
  100. *PageSize Letter: "statusdict begin lettertray end"
  101. *PageSize Legal: "statusdict begin legaltray end"
  102. *PageSize Tabloid: "statusdict begin ledgertray end"
  103. *PageSize A3: "statusdict begin a3tray end"
  104. *PageSize A4: "statusdict begin a4tray end"
  105. *PageSize B4: "statusdict begin b4tray end"
  106. *PageSize Comm10-Landscape: "statusdict begin com10tray end"
  107. *?PageSize: "
  108.  save enginedict begin
  109.       /ENGINE_PAPER_SIZE EngineToken GetEngineValue
  110.       {
  111.         /letter { (Letter) }
  112.         /legal { (Legal) }
  113.         /ledger { (Tabloid) }
  114.             /a3 { (A3) }
  115.             /a4 { (A4) }
  116.             /b4 { (B4) }
  117.         /com10 { (Comm10-Landscape) }
  118.             /unknown { (Unknown) }
  119.         } case
  120.       print (\n) print flush
  121.  end restore
  122. "
  123. *End
  124. *CloseUI: *PageSize
  125.  
  126. *OpenUI *PageRegion/Page Region: PickOne
  127. *OrderDependency: 40 AnySetup *PageRegion
  128. *DefaultPageRegion: Unknown
  129. *PageRegion Letter: "letter"
  130. *PageRegion Legal: "legal"
  131. *PageRegion Tabloid: "ledger"
  132. *PageRegion A3: "a3"
  133. *PageRegion A4: "a4"
  134. *PageRegion B4: "b4"
  135. *PageRegion Comm10-Landscape: "com10"
  136. *CloseUI: *PageRegion
  137.  
  138. *DefaultImageableArea: Unknown
  139. *ImageableArea Letter: "9 27 601 783 "
  140. *ImageableArea Legal: "9 27 601 999 "
  141. *ImageableArea Tabloid: "9 27 779 1211 "
  142. *ImageableArea A3: "18 27 828 1188 "
  143. *ImageableArea A4: "9 27 585 832 "
  144. *ImageableArea B4: "9 27 720 1022 "
  145. *ImageableArea Comm10-Landscape: "18 63 666 281 "
  146. *?ImageableArea: "
  147.  save /cvp { cvi (            ) cvs print ( ) print } bind def
  148.   newpath clippath pathbbox
  149.   4 -2 roll exch 2 {ceiling cvp} repeat
  150.   exch 2 {floor cvp} repeat flush
  151.  restore
  152. "
  153. *End
  154.  
  155. *DefaultPaperDimension: Unknown
  156. *PaperDimension Letter: "612 792"
  157. *PaperDimension Legal: "612 1008"
  158. *PaperDimension Tabloid: "792 1224"
  159. *PaperDimension A3: "842 1191"
  160. *PaperDimension A4: "595 842"
  161. *PaperDimension B4: "729 1032"
  162. *PaperDimension Comm10-Landscape: "684 295"
  163.  
  164. *% Seems as though this has to be here in order to persuade the driver
  165. *% to output page size code:
  166. *OpenUI *InputSlot: PickOne
  167. *OrderDependency: 20 AnySetup *InputSlot
  168. *DefaultInputSlot: Tray
  169. *InputSlot Tray: ""
  170. *CloseUI: *InputSlot
  171.  
  172. *DefaultOutputBin: OnlyOne
  173. *DefaultOutputOrder: Reverse
  174.  
  175. *RequiresPageRegion All: True
  176.  
  177. *% Font Information =====================
  178. *DefaultFont: Courier
  179. *Font AvantGarde-Book: Standard "(001.001)" Standard ROM
  180. *Font AvantGarde-BookOblique: Standard "(001.001)" Standard ROM
  181. *Font AvantGarde-Demi: Standard "(001.001)" Standard ROM
  182. *Font AvantGarde-DemiOblique: Standard "(001.001)" Standard ROM
  183. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  184. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  185. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  186. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  187. *Font Courier: Standard "(001.004)" Standard ROM
  188. *Font Courier-Bold: Standard "(001.004)" Standard ROM
  189. *Font Courier-BoldOblique: Standard "(001.004)" Standard ROM
  190. *Font Courier-Oblique: Standard "(001.004)" Standard ROM
  191. *Font Helvetica: Standard "(001.001)" Standard ROM
  192. *Font Helvetica-Bold: Standard "(001.001)" Standard ROM
  193. *Font Helvetica-BoldOblique: Standard "(001.001)" Standard ROM
  194. *Font Helvetica-Narrow: Standard "(001.000)" Standard ROM
  195. *Font Helvetica-Narrow-Bold: Standard "(001.000)" Standard ROM
  196. *Font Helvetica-Narrow-BoldOblique: Standard "(001.000)" Standard ROM
  197. *Font Helvetica-Narrow-Oblique: Standard "(001.000)" Standard ROM
  198. *Font Helvetica-Oblique: Standard "(001.001)" Standard ROM
  199. *Font NewCenturySchlbk-Bold: Standard "(001.002)" Standard ROM
  200. *Font NewCenturySchlbk-BoldItalic: Standard "(001.001)" Standard ROM
  201. *Font NewCenturySchlbk-Italic: Standard "(001.001)" Standard ROM
  202. *Font NewCenturySchlbk-Roman: Standard "(001.002)" Standard ROM
  203. *Font Palatino-Bold: Standard "(001.000)" Standard ROM
  204. *Font Palatino-BoldItalic: Standard "(001.000)" Standard ROM
  205. *Font Palatino-Italic: Standard "(001.000)" Standard ROM
  206. *Font Palatino-Roman: Standard "(001.000)" Standard ROM
  207. *Font Symbol: Special "(001.001)" Special ROM
  208. *Font Times-Bold: Standard "(001.001)" Standard ROM
  209. *Font Times-BoldItalic: Standard "(001.001)" Standard ROM
  210. *Font Times-Italic: Standard "(001.001)" Standard ROM
  211. *Font Times-Roman: Standard "(001.001)" Standard ROM
  212. *Font ZapfChancery-MediumItalic: Standard "(001.002)" Standard ROM
  213. *Font ZapfDingbats: Special "(001.000)" Special ROM
  214. *Font LucidaSans: Standard "(001.000)" Standard ROM
  215. *Font LucidaSans-Italic: Standard "(001.000)" Standard ROM
  216. *Font LucidaSans-Bold: Standard "(001.000)" Standard ROM
  217. *Font LucidaSans-BoldItalic: Standard "(001.000)" Standard ROM
  218. *Font LucidaSans-Typewriter: Standard "(001.000)" Standard ROM
  219. *Font LucidaSans-TypewriterBold: Standard "(001.000)" Standard ROM
  220. *Font LucidaBright: Standard "(001.000)" Standard ROM
  221. *Font LucidaBright-Italic: Standard "(001.000)" Standard ROM
  222. *Font LucidaBright-Demi: Standard "(001.000)" Standard ROM
  223. *Font LucidaBright-DemiItalic: Standard "(001.000)" Standard ROM
  224. *Font Bembo: Standard "(001.000)" Standard ROM
  225. *Font Bembo-Italic: Standard "(001.000)" Standard ROM
  226. *Font Bembo-Bold: Standard "(001.000)" Standard ROM
  227. *Font Bembo-BoldItalic: Standard "(001.000)" Standard ROM
  228. *Font GillSans: Standard "(001.000)" Standard ROM
  229. *Font GillSans-Italic: Standard "(001.000)" Standard ROM
  230. *Font GillSans-Bold: Standard "(001.000)" Standard ROM
  231. *Font GillSans-BoldItalic: Standard "(001.000)" Standard ROM
  232. *Font Rockwell: Standard "(001.000)" Standard ROM
  233. *Font Rockwell-Italic: Standard "(001.000)" Standard ROM
  234. *Font Rockwell-Bold: Standard "(001.000)" Standard ROM
  235. *Font Rockwell-BoldItalic: Standard "(001.000)" Standard ROM
  236.  
  237. *?FontQuery: "
  238. save  4 dict begin /sv exch def
  239. /str (fonts/                              ) def
  240. /st2 128 string def
  241. {
  242.   count 0 gt {
  243.     dup st2 cvs (/) print print (:) print
  244.     dup FontDirectory exch known {pop (Yes)}{
  245.      str exch st2 cvs dup length /len exch def
  246.      6 exch putinterval str 0 len 6 add getinterval mark exch
  247.      { } st2 filenameforall counttomark 0 gt {
  248.       cleartomark (Yes)}{cleartomark (No)}ifelse
  249.     }ifelse = flush
  250.   }{ exit } ifelse
  251. } bind loop 
  252. (*) = flush
  253. sv end restore
  254. "
  255. *End
  256.  
  257. *?FontList: "
  258. save  2 dict begin /sv exch def
  259. /str 128 string def
  260. FontDirectory { pop == } bind forall flush 
  261. /filenameforall where { 
  262.  pop save (fonts/*) { 
  263.   dup length 6 sub 6 exch getinterval cvn ==  
  264.  } bind str filenameforall flush restore
  265. } if 
  266. (*) = flush
  267. sv end restore
  268. "
  269. *End
  270.  
  271. *% Printer Messages (verbatim from printer):
  272. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  273. *Message: "\FontName\ not found, using Courier"
  274.  
  275. *Message: "PrinterError: sys err: handler internal error"
  276. *Message: "PrinterError: unknown value received from server"
  277. *Message: "PrinterError: unknown element received from server"
  278. *Message: "PrinterError: invalid method entry in dispatch table"
  279. *Message: "PrinterError: press request for illegal canvas received from server"
  280. *Message: "PrinterError: protocol violation from server"
  281. *Message: "PrinterError: free request for illegal canvas received from server"
  282. *Message: "PrinterError: dispatch table inconsistency, unrecognized type"
  283. *Message: "PrinterError: error in reception of parameter from server"
  284. *Message: "PrinterError: Illegal resolution"
  285. *Message: "PrinterError: File open failed"
  286. *Message: "PrinterError: Memory allocation fail"
  287.  
  288. *PrinterError: "sys err: handler internal error"
  289. *PrinterError: "unknown value received from server"
  290. *PrinterError: "unknown element received from server"
  291. *PrinterError: "invalid method entry in dispatch table"
  292. *PrinterError: "press request for illegal canvas received from server"
  293. *PrinterError: "protocol violation from server"
  294. *PrinterError: "free request for illegal canvas received from server"
  295. *PrinterError: "dispatch table inconsistency, unrecognized type"
  296. *PrinterError: "error in reception of parameter from server"
  297. *PrinterError: "Illegal resolution"
  298. *PrinterError: "File open failed"
  299. *PrinterError: "Memory allocation fail"
  300.  
  301. *% Color Separation Information =====================
  302.  
  303. *DefaultColorSep: ProcessBlack.60lpi.360dpi/60 lpi / 360 dpi
  304.  
  305. *InkName: ProcessBlack/Process Black
  306. *InkName: CustomColor/Custom Color
  307. *InkName: ProcessCyan/Process Cyan
  308. *InkName: ProcessMagenta/Process Magenta
  309. *InkName: ProcessYellow/Process Yellow
  310.  
  311. *% For 60 lpi / 360 dpi =====================================================
  312.  
  313. *ColorSepScreenAngle ProcessBlack.60lpi.360dpi/60 lpi / 360 dpi: "45"
  314. *ColorSepScreenAngle CustomColor.60lpi.360dpi/60 lpi / 360 dpi: "45"
  315. *ColorSepScreenAngle ProcessCyan.60lpi.360dpi/60 lpi / 360 dpi: "105"
  316. *ColorSepScreenAngle ProcessMagenta.60lpi.360dpi/60 lpi / 360 dpi: "75"
  317. *ColorSepScreenAngle ProcessYellow.60lpi.360dpi/60 lpi / 360 dpi: "0"
  318.  
  319. *ColorSepScreenFreq ProcessBlack.60lpi.360dpi/60 lpi / 300 dpi: "60"
  320. *ColorSepScreenFreq CustomColor.60lpi.360dpi/60 lpi / 300 dpi: "60"
  321. *ColorSepScreenFreq ProcessCyan.60lpi.360dpi/60 lpi / 300 dpi: "60"
  322. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  323. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  324.  
  325. *% For 53 lpi / 360 dpi =====================================================
  326.  
  327. *ColorSepScreenAngle ProcessBlack.53lpi.360dpi/53 lpi / 360 dpi: "45.0"
  328. *ColorSepScreenAngle CustomColor.53lpi.360dpi/53 lpi / 360 dpi: "45.0"
  329. *ColorSepScreenAngle ProcessCyan.53lpi.360dpi/53 lpi / 360 dpi: "105"
  330. *ColorSepScreenAngle ProcessMagenta.53lpi.360dpi/53 lpi / 360 dpi: "75"
  331. *ColorSepScreenAngle ProcessYellow.53lpi.360dpi/53 lpi / 360 dpi: "0"
  332.  
  333. *ColorSepScreenFreq ProcessBlack.53lpi.360dpi/53 lpi / 360 dpi: "53"
  334. *ColorSepScreenFreq CustomColor.53lpi.360dpi/53 lpi / 360 dpi: "53"
  335. *ColorSepScreenFreq ProcessCyan.53lpi.360dpi/53 lpi / 360 dpi: "53"
  336. *ColorSepScreenFreq ProcessMagenta.53lpi.360dpi/53 lpi / 360 dpi: "53"
  337. *ColorSepScreenFreq ProcessYellow.53lpi.360dpi/53 lpi / 360 dpi: "53"
  338.  
  339. *% end of PPD file for NeWS with NeWSprinterCL+
  340.